Spiral Print Anticlockwise direction

pleae help me in this

@Gade_Deepthi
i have made the changes to your code .refer to this.
always look at the output format