Refactor "rear" instance variable to tail.
Refactor "front" instance variable to head.