add a validation tool for kasami code