Added the ChessFigure promotion, chessFigure factory plus some minor bug
fixes.