Created a basic game loop based, almost entirely, off of a googled page.