Implement print function between (k1,k2)

Exercise 4.32