What is the intention of p1?

public static int p1(int a, int b) {
if (b == 0) {
return a;
} else {
return p1(a % b, b);
}
} Your answer should have exactly 3 paragraphs. Make sure that the 2nd paragraph starts with the word "freeze" and that each paragraph is separated by two new lines.
user