matrix for faster drawing of a maze