Try and use a code/codebox block, as well as indent your code. See here:
Forum Codes
I really don't think you need to use an array for your bricks. Just use Types like you have done above.
Forum Codes
I really don't think you need to use an array for your bricks. Just use Types like you have done above.