calculator assignment - solution