changegreedy is working and outputting.