1st part of homework

Signed-off-by: Andrew Tselischev <andrewtselischev@gmail.com>