This is great!
I'd recommend that you go one step beyond. There are two questions that come to mind after this.
1) What happens to the charge and energy after switching? Well, there will be a spark.
2) why somebody wants to build such a complex arrangement of capacitors in practice?