Calculate the Fibonacci sequence, the program is valid C and Perl code at the same time