The humble hard drive might be old, but it’s still a useful technology. Here’s what it is, and how it works.