private boolean isDrawed(List<Point> points, Point p) {
        for (Point point : points) {
            if (p.x == point.x && p.y == point.y) {
                return true;
            }
        }
        return false;
    }