Added break; and new switch cases

fixed $variable sharing bug (missing break;)

added 2 new cases for switch
now with repos