Enemy spawn code

Added some stuff for generation.  Everything is documented.