A Treatise on the Elements of Algebra