update SingleNumber.java