@Override
	public boolean put(T element) {
		if ((!keyCode.contains("e")) && (!keyCode.contains("r"))) {
			// System.out.println("ALL FULL");
			return false;
		}
		int i = 0;
		int hashCode = element.hashCode() % hashTable.size();
		if (keyCode.get(hashCode).equals("e") || keyCode.get(hashCode).equals("r")) {
			hashTable.set(hashCode, element);
			keyCode.set(hashCode, "f");
		} else {
			// System.out.println(keyCode.get(hashCode));
			while (keyCode.get(hashCode + i).equals("f")) {
				i++;
				// System.out.println("iterating: " + i);
				if ((hashCode + i) >= hashTable.size()) {
					hashCode = 0;
					i = 0;
				}
			}
			// System.out.println("probing called");
			// System.out.println(i);
			hashTable.set(hashCode + i, element);
			keyCode.set(hashCode + i, "f");
		}
		return true;
	}