Update BankAccount.java

Added additional functions toString method and main method (main method from demoba.java)