algorithm: minimum-sum-of-difference-of-three-arrays: adding code for finding minimum sum of difference of three arrays