add solution of single number problem