Made random tile generation easier to read.