Added gen_grid.f for create 2D/3D Grid Net Files