Implemented random tile generation again.