Version 0.6 - collision detection

#Version 0.6 - Added collision detection