Adds spawn_context function.

This function will probably never be used by students, but I wanted to add it
anyway to offer bring the 'context' to a level of use that actually allows
decent multi-threading.