Add sublist exercise

Add sublist exercise - based on haskell equivalent.