orelly istande graph solution