added a Character class and made Player and Villain inherit from it