Wall collisions implemented.