A Xcode playground with the solution of a problem for checking the numbers in an Array