use TextInput to read the data;  parse out divideAndConquer.  need to revist b/c right now, only getting the correct answer using brute force