Added solutions to problems 4