18.09.2014, 13:45
Considering that you are using an array to keep track of them you should probably be using a loop rather than going through them sequentially. You only need to return if you want to end the function. If there is code that you want to execute, then don't put a return. It's rather simple, really.