Maze drawing, calling C++ in server