containsPoint method
Check if a given point (x, y) lies on the curve
Implementation
bool containsPoint(BigInt x, BigInt y) {
final BigInt leftSide =
(a * x * x + y * y - BigInt.one - d * x * x * y * y) % p;
return leftSide == BigInt.zero;
}