Toggle LED with Switch (off same Adruino PIN)

I've been told to come up with something I want to produce rather than the assignment. So I am currently putting together a flow diagram to define the specification of the code.

I am just trialing what can be achieved and what can't be achieved.