creates list of quotes and checks if they are valid