project displaying spiral matrix in android