changed the ai function interface

Now you can use any function, regardless of whether or not it is in the
ai package, as an ai computer (as long as it satisfies the ai function
interface).