Updated Piece.java class
Updated Piece.java class