Bonus graph class done