evaluates a simple arithmetic expression given a valid string via command line