Artificial Intelligence Homework for Log Likelihood