add rand10.cpp
Merge branch 'master' of https://github.com/bigwangdi/algorithmlib