made changes to constructor for SingleLinkedList & added lastKthelement