Implemented particles bouncing off walls.

Progress towards #11.