Display the value in array with index numbers