Aaaaand add solution for assignment 8d. That was a piece of cake. :D