Added most of the MPI related code to main.cpp. changed the way members are initialized in the bitonic sorter since gcc that comes with ubuntu12.04 is not 100% compatible with C++11.