Random maze in c++.