This is one implementation of the kata string calculator