Added solutions to homework #3.