Solution for problem 25 with some examples of different ways to calculate the nth term of the fibonacci sequence