Adjusted clear() to set _head to null as opposed to _head.next and _head.data to null (caused issue with adding items to a cleared list).