Completed longestsub array, finished testing