Modified TailLinkedList to include orientation