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 V / | | | | | | / . \ \ /\ / | __/ | (_| |
\_/\_/ |_| |_| |_| /_/ \_\ \/ \/ \___| \__, |
| |
|_|