solution for 05_silly_blocks