The winning entry to a programming competition held at Lancaster University