implemented new method lTrim and listTrim and tests
implemented new method rPop and tests
implemented new method rPopLPush and tests