fixed wrong test
ensured PEP8 conformity and refactored complexity issues
Merge branch 'master' of github.com:fnl/patricia-trie
added single entry tests for the error repoted by @zachrahan in #1
moved staticmethods to top of class and fixed another code smell
a fix for issue #1 reported by @zachrahan