Use xrange in fib()