fix ermit method
improve Figures str representation
optimize drawing
fix bug when change algorithm