Code for assignments for an artificial intelligence course