leftPartR,rightPartR,reverseメソッドの追加.