first iteration on sublist (not working) and first submission of anagram (elixir)