Destructor, Result

Created the destructor function and the result function
Some errors remain in the vote();