added collision detection

but I'm not doing anything with the collisions .........