Wrote a simple ackerman function, it has not yet been tested.