fixing destructors
added several buttons, generator of random figures, fixed group operations