initial progress so far - communication is working, just need to finish the algorithm