Update singleNumber.cpp