Adding Graph Class