refactoring: abs, neg, clear and operator arrays in place of string check
testQuit added (fails)