software engineer challenge - String Calculator