added addFirst method to LinkedList