A little bit refactoring
refactoring
 Zigzag support for negative numbers