Simplified the map model to array model for klotski layout