replaced string representation of shapes with 2d lists.

This looks cleaner, and should be easier to work with
when implementing rotations.