Added multiple cells, gravity and friction.