Refactored some code, including two while loops. Removed shoot() from Ship.