write a method that takes a list of integers and returns a new integer list consisting of the input list with no duplicates. you must write the loops yourself (in other words, you can't use methods such as contains(), indexof() or a set class). don't use contains(). don't use a class that removes duplicates such as hashset. you can use add(), get() and so on.