A simple program for generating 2d mesh via divide and conquer approach