Algebra notes