#18 Modified the game loop to run at a designated FPS