on maximal paths and circuits of graphs