First version of Validex working with 2 examples in Scala