@Override
	public String toString() {
		if (this.head == null) { // If there are no elements in the list:
			return "[]"; // Return an empty pair of square brackets
		}

		String answer = "["; // If not, start the answer with an opening square bracket

		Node ptr; // ptr is just a reference to the list used to retrieve data
		for (ptr = this.head; ptr.next != null; ptr = ptr.next) { // Go through each element in the list except for the last one
			answer += ptr.data + ", "; // And add it to the output string along with a comma and a space
		}

		answer += ptr.data + "]"; // Add the final element to the answer and close it with a closing square bracket

		return answer; // Return the answer
	}