public static HashMap<String,Double> doCalculationInstructions(String line)
	{
		HashMap<String,Double> elements = new HashMap<>();
		
		String expression, variable;
		double result;
		char c;
		int prevFlag = -1;
		ArrayList<String> variables = new ArrayList<>();
		ArrayList<String> expressions = new ArrayList<>();
		
		for(int n=0;n<line.length();n++)
		{
			c = line.charAt(n);
			
			switch(c)
			{
				case '=':
				{
					variable = line.substring(prevFlag+1,n).trim();
					variables.add(variable);
					prevFlag = n;
					break;
				}
				case ';':
				{
					expression = line.substring(prevFlag+1,n).trim();
					expressions.add(expression);
					prevFlag = n;
					break;
				}
			}
		}
		
		for(int n=0;n<variables.size();n++)
		{
			variable = variables.get(n);
			expression = expressions.get(n);
			
			result = ArithmeticParser.evaluateExpression(elements,expression);
			
			elements.put(variable,result);
		}
		
		return elements;
	}