結果 : write an algorithm to insert an element in an array at a given position