Image mosaic generator in go-lang