Update lab4.cpp

added quick sort and comments, this prints out all arrays