Update main.cpp

makes the array of bricks