Grid to Braid

This little cell converts a grid diagram in to a braid, computes its Alexander polynomial, and optionally draws a diagram for the braid obtained.