implemented p16 (drop every Nth element) using zipWithIndex
implemented p16 (drop every Nth element) using tailrec