Bugfree (under Windows) version of exercise project 2.