fix to return shared_ptr instead of raw pointer at Agent and Environment
Merge pull request #6 from cad-san/fix-to-use-shared_ptr

Use shared_ptr instead of  raw pointer