Finished the exercises of lecture 1

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