added windows build environment defines
minor refactoring
added dynamic bit packed vector
added vector correctness tests
added a main.cpp, running the tests