Assignment to compute modulo square roots