check fibonacci series in java