Added a score counter and collision detection