added functionality that removes a life if ship collides with a rock
optimised the remove a life functionality