Added programs 1a, and 1b