public class Point {

  public boolean canAttack;
  public String player;
  public ArrayList<Piece> pieces;
  public int position;

  public Point(ArrayList<Piece> pieces, int position){
    if(pieces){
      this.pieces = pieces;
      this.player = pieces.get(0).player;
      this.canAttack = False;
    }
    else{
      this.player = null;
      this.canAttack = True;
    }
    this.position = position;
  }

}
@@ -153,25 +153,33 @@
 List%3CPiece%3E 
-p
+startingP
 ieces, int p
@@ -195,17 +195,25 @@
 %0A    if(
-p
+startingP
 ieces)%7B%0A
@@ -232,17 +232,25 @@
 ieces = 
-p
+startingP
 ieces;%0A 

correct point class