Creating moves on Knight

Mam the array which u create is sepecific to particular postion or generic?Unable to understand the array of row and column