Created and implemented Arrays routine.