upadted dominant color algo and method to match cells and small pictures
updated dominant color algo and method to match cells and small pictures