Thank you very much!
Sorry that I have not been able to reply, I have been busy lately and I tried the solution. It works perfectly.
I will now take a look into the solutions and try to understand it from the examples.
Is there some guide map to how to learn ORE works? something like the quantlib book.