Finished doing quick sort correctly. Only returning string correctly is to be done in next commit.