Added two separate isPathClear methods to ChessPiece