Just a draft to align the main ideas, never executed code. Compiles.
Attach a file by drag & drop or click to upload