Added Block.rotate method to objects.py.