Monte Carlo simulation of entropy-driven pattern formation in a two-dimensional system of rectangular particles