string calculator TDD exercise