implement rotateLeft