Add demo.cpp to demo how to use Mpa and Player.

And a little modification for Map and Player.