Solutions for ca213 exams. May not be fully correct.