working on printing bricks initbricks()