@Override
	public void clearMemory() { //To reset memory contents when loading a new program
		for (int i = 0; i < 100; i++) { //Resets each non-null address to null, effectively clearing memory contents
			if (MEMORY[i] != null) {
				MEMORY[i] = null;
			}
			else {
				break;
			}
		}
	}