Loop Statement not working

I worked out my issue by creating a custom node that preformed the task that I needed done and running it through a LoopWhile Node. Just like this example.

Here is the graph I ended up creating

And here is the custom node I created

Hopfully this will be of some use to the next person to stumble across this post.