memoized ackermann function in c. don't bother running, blows stack in like 2 seconds lol.