Materials for building an electromagnet