attempt at generating rooms

trying to generate rooms but not working