Update MenAlgorithm.java