Java program to generate Fibonacci series