adds PhotoMosaic.each and moves setting PhotoMosaic.Mosaic[i] to the instance constructor