Code I'm writing while reading Understanding Computing