Add solution for Single Number 2.