lottery stats, c++11 practicing