Magnetic characterization of iron nanocubes