Monte Carlo simulation of tetromino fluids (C++)