Added a basic createBranch function

The createBranch function creates a new branch if the name is not already taken and checks it out. Equivalent of 'git checkout -b newBranch'