Update 03_Factory01.cpp

third version of Factory pattern.
switch to boost::shared_ptr, since auto_ptr is deprecated in c++11 (http://www.cplusplus.com/reference/memory/auto_ptr/)
also, fix some minor issues when testing in vs2010.