renaming file name main.c to map.c