Collision detection, position reset and gameover implemented.