problem 28

matrix generation from reverse spiral