Study of rapidity distribution and azimuthal asymmetry of photons in ultra relativistic heavy ion collisions at cern SPS