Added createRoom fuction for rooms