Update p3/prob.c

Issue #3