Algebro-Geometric Solutions for the Kadomtsev-Petviashvili Hierarchy