Problem 013 first vesion.  I will almost certainly revisit this.