Made collision checking more efficient and broke game screens into separate functions for nicer code organization.