What happens when the halogen is on the branch itself??
What would you call that?
So far, my best guess is: 3-bromomethylpentane...
General rules are make the longest carbon chain possible i.e. pentane, or put the functional group on carbon 1 and label from there