Modified calculator code from @ScriptEdcurriculum for 12/11's lesson