Added solutions of lecture 2

Signed-off-by: mrahmiao <mrahmiao@gmail.com>