Move definition of with_index below

Right now it's defined in the middle of two definitions of max function:

```elixir
def max(collection)
# ...
end

def with_index(collection)
# ...
end

def max([h|t], fun)
# ...
end