Fixed various errors, started Map object code

Fixed scope of variable 'array'.
Fixed closure of 'this' in SurvivalGame.prototype.populate method (named
g).
Changed animal counts to use the name of the first of each animal added.
Started creating Map object.