Started implimenting level generation

Made a LevelGenerator script with most of the stuff in there. But it is
not tested at all and it is currently throwing OutOfRange exceptions.