@Override
	public E get(int index) {
		if (index < 0) { // If the index is too small:
			throw new ListIndexOutOfBoundsException("Index less than 0"); // Throw an exception to let the user know and exit the method
		}

		Node outNode = this.head; // Create a reference to the list
		for (int i = 0; i <= index && outNode != null; i ++, outNode = outNode.next); // Repeat while the reference node is a) not at the correct index and b) not at the end of the list

		if (outNode != null) { // If the for loop ended by reaching the correct position:
			return outNode.data; // Return the data of the reference node
		}

		else { // Otherwise:
			throw new ListIndexOutOfBoundsException("Index too large"); // The index was too large, so throw an exception
		}

	}