Create factorial.java