Fibonacci sequence using DP in C