Error Checking

Graph.java - findAgent