A SIMPLE ALGORITHM TO ENFORCE DIRICHLET BOUNDARY CONDITIONS IN COMPLEX GEOMETRIES