Added equal function to compare to vectors