getPivot

added the getPivot method. This will help in deciding on a better pivot
later on