added partitioning to main.cpp...getting outliers detected!