public static Move[] possibleMoves(Board bd, int col){
		Move[] possibleMoves = new Move[500]; 
		Chip[] currentChips = bd.getCurrChips(col);
		int counter = 0;
		int x = 0;
		Move currMove;

		//ADD moves
		if(bd.getPieces(col) < 10){			
			for(int i = 0; i < 8; i++){
				for(int j = 0; j < 8; j++){
					currMove = new Move(i, j);
					if(isLegal(bd, currMove, col)){
						possibleMoves[counter] = currMove;
						++counter;
					}
				}
			}
		}

		//STEP moves
		else{
			while(currentChips[x] != null){
				for(int i = 0; i < 8; i++){
					for(int j = 0; j < 8; j++){
						currMove = new Move(i, j, currentChips[x].x, currentChips[x].y);
						if(isLegal(bd, currMove, col)){
							possibleMoves[counter] = currMove;
							++counter;
						}
					}
				}
				++x;
			}
		}
		return possibleMoves;
	}