A Python re-implementation of distmesh2d by Persson and Strang