Changed Algorithm.java to use internal Java Properties object instead of Cost.java, per assignment specifications.  Made Algorithm.java take in query file and config file names as command-line arguments instead of being hardcoded in the java file.