Some array/object testing that might be kept.
Made a compare function and some attempts to use it