add another solution of SingleNumber