programs for other interesting problems