trying to replace all instances of corner and center in kingdom with integers