Return True if arrays A and B have identical shape and elements, else False.
True
A
B
False
solve(...)