Self Assembly of Nanostructures Aided by Ion- or Photon-Beam Irradiation