Method graphFill is moved to class Graph