Java Fibonacci code for both recursive and regular