Created player and enemy classes to hold the respective logic