adding dynamic way for fibo complexity O(n)
merged