Notes on Artificial Intelligence