What was Ernö Rubik, the inventor of the famous cube-shaped puzzle that bears his name, by profession?

Sculptor and professor of architecture.

**********