We write a program in Java to generate all grid diagrams of up to size 10. Using equivalence between grid diagrams modulo a set of Cromwell moves and classification of Legendrian links up to Legendrian isotopy, together ...