add travis yml for continuous integration, initial code for removeDuplicates