Exercise of TeaLeaf Academy's Introduction to Programming Book