break out middleIndex for testing
add quickSort tests and test data
Merge pull request #2 from aaylward/tests

quickSort tests