Meshing algorithm progress

Done with the inserting of he entry point, still to do: the two main
functions of the unconditional part, and the second major part, the
conditional.