Data structure course design (unary sparse polynomial operation)