pawn blocker logic
the equation for validPieceDirection was off if the desired direction had a 0 and the piece was a bishop or queen