Add code for the question about numeric string matching