Added merge method for merging 2 sorted linked lists