it's graph generation code , aimed to fined a grapg with max vertices using minimum area