Added a NotNull annotation.
Added a breadth-first search method on the Graph class.
Made the application's function evaluation code use the new BFS method on the Graph class.