made monster creation a function

It might be useful later (for summoning and such) to have the monster
creation bundled up as a function.