Min coins change task implemented