Added RotateLeft and RotateRight functionality.