should the class be Zigzag and the methods encode and decode?