graphs solutions added