Create swstab.cpp

My style updates to the provided code.  A chunk has been factored out to _swFunc.h. I'm planning to name any headers I create with an underscore, so it's easy to keep them separate.