A History of Algebra