Built new sample3 from sample1 and sample2
Added label to the Grid and corrected algorithm