got some sort of random matrix in c++ working