don't use string#dup, comment out cleanup for now
gets.chomp - delete \n from inputted string, use cleanup method at end