Windows form application for problem 2 of extra credit