The first thing you do when you write a program is draw a diagram