Homework program7 Ivailo Ivanov