program that calculates the fibonacci numbers