s.hoskin@xtra.co.nz said:

Thanks for piecing together the logic which can at times be difficult to decipher.

Kind wishes,

 Su. 

      _                     _       __  __         _____ 
| | | | | \/ | |_ _|
__| | _ __ __ __ | |__ | \ / | ____ | |
/ _` | | '__| \ \ /\ / / | '_ \ | |\/| | |_ / | |
| (_| | | | \ V V / | | | | | | | | / / _| |_
\__,_| |_| \_/\_/ |_| |_| |_| |_| /___| |_____|