impl intersect and diff and filter

http://www.scala-lang.org/api/current/index.html#scala.Int