Gravar-mail: Box-covering algorithm for fractal dimension of weighted networks