created ackermann function
implemented test for input for m and n
included test for input validity
pre merge