finished calculator assignment