Eisenstein's theorem on power series expansions of algebraic functions