code refactored for readability
intial commit to string-calculator