Array to control individual GPIO's
If you wire the fans up to the 8 bits of a GPIO port, you can write the byte value directly to the port, and each fan will respond to only its bit. No need for any fancy software.