My Special Problem for the BS Computer Science degree. Continuing work on it after a long time ...