* : Implemented basic collision detection