Code example for LinkedList

Methods: isEmpty, poll