Removed redundant ifs in main for player movement
Made speed part of character class, not global