solutions to assignment 1