Initial Graph Testing code