Wrote code to find the max number in a range calculable in 15 seconds. But it's behaving really weirdly.