Add code for tutorial 7.

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