A multigap resistive plate chamber array for the Extreme Energy Events project