Algorithms for Lists that are not implemented in Erlang