changed i to j
changed i to k
kept j instead of k, resolved conflict
added a sleep to simple_for_loop,sh