Added create method and tested all related test cases
Added delete method implementation and tested all the related test cases
Refactored the code according to the comments and removed conflicts
Used HashSet and refactored the code according to the comments
Used HashSet and refactored the code as per the comments.