Updated Debug.java
Added code for handling Debug Messages :
The DEBUG_VALUE should be accordingly set in the class Debug. Use the DEBUG_VALUE in the following way:
DEBUG_VALUE=4 [Print to stdout everytime a constructor is called]
DEBUG_VALUE=3 [Print to stdout everytime a thread's run() method is called]
DEBUG_VALUE=2 [Print to stdout everytime an entry is added to the Results data structure]
DEBUG_VALUE=1 [Print to stdout the search results]
DEBUG_VALUE=0 [No output should be printed from the application]