Created the infinite game loop