Modern Algebra with Applications