Added ability to rotate pieces