make destructors virtual
Merge pull request #4 from Lowest0ne/virtual-destructors

make destructors virtual