Hi Sean !
Thank you once again for trying to help me out .
I actually figured out the solution to the problem.
I did not do a good job of posting the question clearly.
I will do it right now .. and also update the solution.
I was wondering how I can format the code within the question ?