Individual based modelling code for structured populations including phylogenetic tree outputs