Assignment5: Array Algorithms