added a game over function and a follow player function