public Iterator<V> values() 
	{
		LinkedList l = new LinkedList();			//linked list to store all the values
		for (int i = 0; i < table.length; i++)		//input values for each key into l
		{
			if (table[i] != null)					//if the key has values, insert them into the list
			{
				Node<K,V> temp = table[i];
				while (temp != null)
				{
					l.addLast(temp.getVal());
					temp = temp.next;
				}
			}
		}
		return l.iterator();						//return an iterator of the values
	}