Exercise 5: Pad array