Basic program to implement an O(log2(n)) Fibonacci algorithm