Update phase2.ino

Error fixed when y is either 1 or 2 digits. 
Calculation works if x or y is either 1 or 2 digits.