implemented more floc
added bubblesort and weave-ed version, seems to work