Completed Bonus Exercise in Arrays