My version of Lab 3 in Head First C#