refactor my_each_with_index
refactored enough
Ok really finished refactoring now!
my_map takes proc instead
my_map accepts block and proc, only runs block if proc also given