breadt search works but depth search won't output nil in case of unfound number