Can someone throw some light on how to create a branching program from a given function? I have followed the definition of $BP$ on wiki and here. But I could not find any way to convert a function to $BP$.
P.S: I know $BP$ can be of exponential size for some functions. So any simple function on 3-4 variables will do for example $PARITY$ or $MAJ$.