Added testing program to seperate trials and pick results, split up algorithm