An Artificial intelligence program