add sorting to brute force minimal path
changed cell to use a ListBuffer instead of array.  didnt improve performance