Completed Calc app with handling for non-existent operator