solutions to Problem Set from ALDS1 [link]