A hairdresser in Yorkshire is offering free back-to-school haircuts for families who can't afford it.