added getBalance function
Merge branch 'master' of https://github.com/EchoSource/cmpsc221-final.git