Small updates for old homeworks
Solution from another student, to be checked