Renamed `peekFront` to `first` and `peekBack` to `last`. Also added `head` and `tail` methods.
Minor adjustment to `tail`.