The Structure of the Partition Algebras