Added solutions to the lecture 2 exercises.