finished the insert methods for the hashmap and linkedlist data structures