Final solutions

Solutions to assignments 1, 4 and 5.