Added the decodify function which allows to know if a number is correct or not