Graph implementation w search
Clean up code
Minor bug fix
fixed major bug : made important variables Thread-Safe