Solution to assignment problems of course