Finished the implementation of pawn promotion