Code that was used in the Assemblathon 1 and 2 projects