Artificial Intelligence homework 01 Solution