test program for 2d map