Completed UI-G/3 and UI-G/4

I added code to address UI-G/3 and UI-G/4.  I also added two utility
classes (CFormat and SelectOption) that can be used for console I/O
stuff throughout the project.