add equals prototype to arrays