Initial commit of code.

Collision detection is done stupidly and will fail if objects are moving
faster than they are large, but it exists.