Change constructor to List<Integer> coords