during their summit earlier this month , the leaders of north and south korea pledged to expand cultural ties , work toward reuniting some of the tens of thousands of families that were divided by the korean war , and try to set relations on a cooperative footing .