Create character.cpp

the source file of character class