update main.cpp : add two functions

add functions :
/* now and one depth estimation : the amount of merge */
depth_estimation
/* get how many Max_number in grid */
get_Max_number_in_Grid_Amount