create function named “checkEqual” that passes the arrays as arguments (with the usage of pointers on its declaration and definition) and prints the relevant message