(Sort of) Working collision detection!

Hurrah! Just need to add top I think, and also fix it up so it's not so
buggeh