Fixed some coordinates I got wrong. Also figured out some of the game loop.