Add solution for calculating nth fibonacci number