find_min: nil can't be compared

This won't work since nil can't be compared

'''Ruby
def find_min(array)
	min = nil
	array.each do |element|
		if (element < min) || (min == nil)
			min = element
		end
	end
	min
end
'''