The first version of the code is completed

Signed-off-by: Delian Delchev <delian.delchev@gmail.com>