added set intersection solution