some program about algorithm