Added more methods to shape class and grid for use with shape.

Lots of checking methods for the grid and movement methods for the shape
to rotate and fall.