@Override
	public String display() { //Display memory on command line interface
		String displayString = "";
		
		for (int i = 0; i < MEMORY.length; i++) {
			if (MEMORY[i] == null) {
				if (i < 10) { //For formatting of single digits
					String iString = "  0" + i;
					displayString += "\n" + iString + "| ------------";
				}
				else {
					displayString += "\n  " + i + "| ------------";
				}
			}
			else { 
				if (i < 10) {
					String iString = "  0" + i;
					displayString += "\n" + iString + "| " + MEMORY[i].toString();
				}
				else {
					displayString+= "\n  " + i + "| " + MEMORY[i].toString();
				}
			}
		}
		return displayString;
	}