One interation of computer ai logic working. need to make recursive next