added solution for exercies 28.2