Adding the third homework from the FMI course