src/main/java/Kata.java
/**
     * Chose and remove a random point
     *
     * @return chosen Point
     */
Chose and remove a random point
@return chosen Point
Chose and remove a random point @return chosen Point
private Point removeRandom() {
        int choose = random.nextInt(points.size());
        Point chosen = null; 
        for (Point point : points) {
            chosen = point;
            if (choose-- <= 0)
                break;
        }
        points.remove(chosen);
        return chosen;
    }
private Point removeRandom ( ) { int choose = random . nextInt ( points . size ( ) ) ; Point chosen = null ; for ( Point point : points ) { chosen = point ; if ( choose -- <= 0 ) break ; } points . remove ( chosen ) ; return chosen ; }
Chose and remove a random point
 @return chosen Point
Chose and remove a random point @return chosen Point
// chose a point to start from // assuming we have some points we will get one!