renamed stringtoCP to chessPieceLookup