Basic tests for sorting algorithms.

Please review my code, don't just blindly pull. Your review will be precious to me. Thanks!

Andrea