Added test case for minimum_in_array
Fixed problem of failing test cases in minumum_in_array, the preprocessed matrix was simply wrong
Changed the straight-forward algorithm of O(N^2) to preprocess A in minimum_in_array to a faster dynamic programming approach of O(NlogN)