Artificial intelligence problems and general code kata