Create graphalgorithm.m