Spectral method for the gravitational perturbations of black holes: Schwarzschild background case | Synapse