added grid map generator