GridMarket home page product grid by category

How would I go about creating a home product grid where each row of 4 across is a different category of product?