Returns true if square root of n under modulo p exists Assumption : p is of the form 3 * i + 4 where i >= 1
static void squareRoot ( int n , int p ) { if ( p % 4 != 3 ) { System . out . print ( " Invalid ▁ Input " ) ; return ; }