- moved basic tests from Perl implementation
A little bit refactoring
refactoring
 Zigzag support for negative numbers