Fixed tons of compile errors.
Defined how to passin values for creating a density based randomly generated map.
Merge pull request #48 from santhnm2/map_gen

Fixed lots of compile errors.