Update piecelogic.py

Fix pawnlogic