Wasn't it mice (aka the hyper-intelligent pan-dimensional beings who built 'Deep Thought', which computed the Ultimate Answer; who then needed to build a more powerful computer to work out what the Ultimate Question actually was)?
It was built by the planet building people of Magrathea for the race of hyper-intelligent pan-dimensional beings, who appear as mice, to the plans created by Deep Thought.