searchNode method

searchNode method + print statements in main method