Add solution and tests for nth_fibonacci