a working version

this program can successfully simplify mesh progressively, but there
still exist bugs

half edge deletion seems not be erased properly