Code cleanup

Move collision utility functions from Player to ClockUtil.
Remove unnecessary Player variables.
Change for loops to foreach loops where appropriate.
Misc. tweaks. (the best kind of tweaks)