Updated runAlgorithms.java