Splitting main picture and calculating average color in each cell
Resolving conflicts