Completed exercise 8 Power Array