Simplified the Find functions a bit

Changed the Find* functions to use a for loop rather than a while loop,
to shorten the code a bit. That's all.