add the solution of single number 2 problem in leetcode