Refactoring
-Changed the methods in LevelGenerator to static methods.
-Moves some methods from the ghosts to the base class.