Added method to set a specific square.