main.go: z, x, y variables in tiler()
use log package for logging