Cool! Good idea of working with simple rings and fields when it is appropriate, in order to save the time!
And one more peculiar thing about this task that would just embellish it:
"An element x of algebra such that x=x^2 called idempotent".
So actually we had a deal with a ring of idempotent elements.