implemented 1a) sortEdges,CompEdge,(partly) joinNodes
added Assembler basic declarations & defs