textbook solution added.

Signed-off-by: dannysong <danny.song.ga@gmail.com>