Implemented infinite grid