Quadratic Residue/Examples