Added main game loop. Moves is faulty