Add comments describing use of "placement new" syntax
Pulled out constants and used system defined constants for STDIN and STDOUT
Added comments to sample code
Updated comment on sample code