Evaluate variables in simple arithmetic DSL | Applied Interview Question