def is_subset?(array1, array2)
      result = array1 & array2
      (array2.length == result.length)
    end
def is_subset?(array1, array2)
      result = array1 & array2
      (array2.length == result.length)
    end
Checks to see if array2 is subset of array1