Exact diagonalization of FQH on a torus