O(1) space O(n) time fibonacci number