Setup grid and start calculating on maze