Created abstract class Character and made NPC and Player subclasses of this new class