searchNxN.py parses input from standard in using Ben's code.