added java project to check for duplicates in a linked list