Solving Problems Using Array Functions On Rest Countries Ap