Added the starting of a mathematical graph and basis for matching algorithm.