Refactored Classes: Used foreach loops

Do exactly the same as the regular for loop... Only much easier to read
and often better for the more basic loops. (Take less time to write
too!)

Only use a regular for loop if you need to use the index for more
complex algorithm (Such as the ship collision)