implementando quick sort :P