Update code example of private inheritance from  Chapter 14