Added project source code. Project created in VC++ 2008 Express.