Refactored to use pipeline
Zipper in Elixir
Reformatted code