Create Algorithm.java