Generate Fibonacci Number with time complexity O(log2(N)).