Complete Chapter 8.3 - Building and sorting an array