Refactored and made Character class which player and enemy extend

I Refactored some loops in the Main class and created a Character class which includes methods common to both players and enemies. I'm trying to reduce the complexity of the code, hopefully this helps get us there. It may be wiser to make it something where we Implement character but I think it's okay for now.