add polybios algorithm