結果 : ruby get first and last element of array