Fixed the 2dGrid example

It was broken when the [ and ] was added