Added left rotation function.