chapter 4 grouping programs and data

create a structure.
separate code into different source code files and header files.