Code for homeworks from the Artificial Intelligence course