create a function that checks the values of the indexes in two arrays and keep a score
By Bert Klein at Dec 22 2019