Ackerman Function w/ Dictionary