Colored Brick Puzzle