Implementation of a Low-Cost Reconfigurable Antenna Array for SDR-based Communication Systems