arrays exercise working version
final version