premessing with the array
will complete 13 example problems