moved game into its own class, a red rectangle now moves left to right across the screen