Here are my programs.
map generating program
map counting program