Calculator program with required operators that tests user input.