Thank you, the idea came to me from a math problem my friend had asked me recently. Glad that you liked it. :)