Resource allocation algorithm using directional antennas in WiMAX