Almost done with bakery alg.