working on kirchoffs rules with one battery