added Solution for Exercise 27.3 - reverse