Examples from Learn to Program by Chris Pine