Fixed indentation and used arrays instead of individual variables for bricks.