a Sails application
- add implementation for QuickSort algorithm.
- add implementation for HeapSort algorithm.
- add implementation for BinarySearch algorithm.
Binary Search may return the second index if there are duplicate numbers in array.
var pivot=(start_index + end_index)/2 may get a float value as javascript language is weak-type language.