Ackermann function implemented using dynamic programming