Adding all of the code. FIX class implementation and header files. also test code and a test executable.