Create Factorial.java

Compute factorial.