@Override
	public String toString() {
		StringBuilder result = new StringBuilder();
		Node tempNode = null;
		result.append("[");

		if (top != null) {
			for (tempNode = top; tempNode != null; tempNode = tempNode.next) {
				result.append(tempNode.data + " ");
			}
		}

		result.append("]");

		return result.toString();
	}