collision and physic done!

ugly code :S