Joint Beamforming Design for IRS-Assisted Beyond 5G Wireless Networks