[DEBUG] Fix possible ArrayOutOfBound exception in map generator
[LOG] Add printMapInLog function
[DEV] Add rectangle room generator algorithm