added cases to check char following group opperators for validity
strip spaces function added
validation functions complete
imporved encapsulatoin, broke calculation