Started work on collision engine.

TODO: reactions to collisions