add roots method
add unit test for roots method
small changes to match the contribution rules
Merge pull request #1 from UncleCoder/feature/roots

Feature/roots