function arraysEqual(arr1, arr2) {
	if (arr1.length !== arr2.length) return false;
	let areEqual = true;
	arr1.map((d, i) => {
		if (arr2[i] !== d) areEqual = false;
	});
	return areEqual;
}
Returns whether or not two given arrays are equal.
@param {Array} arr1 First array
@param {Array} arr2 Second array