Made quicksort actually in place. Added comments.
Modded lib.js for better testing
Fixed gnome sort