redo homework1

originally checked it out as a console main prog, but to use forms, it's
easier to change this to be a forms app so I can use
System.Windows.Forms