add initial and refactored solution to pad an array exercise
add reflection to pad an array