Started added collision detection

Works - only entities, no tiles.