Codes over finite quotients of polynomial rings