Create calculate.java