We modified BFS so that the project is java 6 compliant.  Also included are functions for debugging in order to check distance.