This is a very nice post! I will find it useful to use and extend the ideas that you have…