Fixed match method for all colors
Added some code to isolateBlock