Update Exercise 1-23. Fixes #1.