updated Graph_Theory_Testing.R