4x4 grid and move validity check