A new take on the string calculator kata