Refactored io code and indices use vector's size type

vector reading and printing is now in auxlib.hpp
indices now use the vector<Type>::size_type instead of int or uint
Implementation of quick sort
Merge branch 'dev'