Added graph.  Changed algorithm.  Uses green count instead of red.