public static Account generateRandomAccount(){
  return new Account(new KeyPair());
}

public static Account generateRandomAccount ( ) { return new Account ( new KeyPair ( ) ) ; }
generates a random account .
