This implementation is really slow because we are always appending to the end of the list. There are two ways to write it:

1. Use `[head * 2|double_each(tail)]`

2. Have an accumulator and always prepend to the accumulator, `[head*2|accumulator]`, but call `Enum.reverse/1` at the end