fixed problem with map: move struct definition outside main
Merge pull request #1 from sj-CUNY/alvarez_fix

fixed problem with map: move struct definition outside main