update MatchCompany

add select_min function
add select_max_from_sinlge function
add select_max_from_two function