basic setup
FOR THE GLORY OF AGATHA
some restructuring
basic serial algorithm
adds parallel code stuff