String calculator Kata in Java, C# and Ruby