initial answer for sublist in elixir