Add array comparision routine