simple scheduler program. full marks.