Simple Grep-like in scala