Created MapRender class with functions to render and return 2d array