lots of beer changes - moved code to Quicksort class