add switch procedure

Status
Resolved
Issue description

It would be very useful to add a switch procedure.

Issue comments

Due to type safety in Java it would be hard to implement this in Blockly to work properly and properly validate case types to match the input.

If blockly adds better support for this, I will consider adding this down the road.