changed Piece to public
Added correct import statement