added import java to Piece.java and updated location.java