programming assignment for unit 6