Create gamelogic.s

This is the game logic for the game. Best to start here first then work on the display later.