Added a BaseEnvironment class for all the environment to inherit from. Also added collision between player and environment