Created a mask function, that returns the number mask between two numbers
Slight simplification
Generated a mask between two numbers, if they differ in the same value of digit