Refactoring for 4x4 Board