public void resolveAddresses() {
	  for(int i = 0; i < byteCodeFile.size(); i++) {
			String byteCode = byteCodeFile.get(i).get(0);
			if(byteCode.equals("FALSEBRANCH") || byteCode.equals("GOTO") || byteCode.equals("RETURN") || byteCode.equals("CALL")) {
				int address = 0;
				String byteCodeArg = byteCodeFile.get(i).get(0); // was get(1)
				for(int j = 0; j < byteCodeFile.size(); j++) {
					String label = byteCodeFile.get(j).get(0);
					if(label.equals("LABEL")) {
						String labelArg = byteCodeFile.get(j).get(1);
						if(labelArg.equals(byteCodeArg)) {
							address = j;
							break;	
						}	
					}
				}
				// if address doesn't change then it wasn't available
				// remove arg
				// add 'address'
				if(address != 0) {
					byteCodeFile.get(i).remove(1);
				  byteCodeFile.get(i).add(Integer.toString(address));
				}
			}
		}
	}