added SingleLinkedList in Java