Implementing randimized partitioning.
Adding Makefile.