Solutions to some AI problems.