add method to convert user pattern to numbers and return to save or othe...

...r user