Understanding Algebra with the Help of Patterns