public void put(K key, V value){
        int hashCode = key.hashCode() % size;
        Node<K, V> node = list.get(hashCode);
        if(node == null){
            list.set(hashCode, new Node<K, V>(key, value));
        }else{
            Node<K, V> prev = null;
            while(node != null){
                if(node.key.equals(key)){
                    node.value = value;
                    return;
                }
                prev = node;
                node = node.next;
            }
            prev.next = new Node<K, V>(key, value);
        }
    }