Create Factorial java