Added rotation of the pieces based on direction of scrolling.

One issue: if you rotate the piece when it's in a grid spot, and then
put it back there, it doesn't matter if it should fit- it will stay in
that spot no matter what. (Try: press solve, and then rotate one of the
pieces)