drawing grid from board