Added changeable target condition for problem5.c