Switched from a calculator to imperative programming