[Haskell-beginners] How to select items from one list depending on another