added gitignore
removed vim swap and temp files from commit, fixed bugs from share.h and share.cpp