Code finished. Parallel seemingly works. Test it some more.