Changed the getValue() method in Variable.java to getCopy().