Added Code for collision detection part 1