add solutions to assignment2