Working Pi Serial encrytion with x<10