Formatting/layout changes
removal of unused warning
created functions for parser
different order
removal of unneeded validate functions
code formatting, added parentheses on Neg function
Added value checking by asking the question for allowed values.
+ some formatting