N-body simulation using a Barnes-Hutt algorithm written in collaboration between James Archer and Matt Griffiths