Implemented p_classify and added a quick test example to main. Shuffling and graphing support are still needed.