WIP homework 3, with definition and basic operations support
Added "if"
3. Working version