if( account[from] < amount )
{ System.out.println( "Account: " + from + " has less than " + amount );
}
while( account[from] < amount )
{ try
{ Thread.sleep(5);
}
catch( InterruptedException e ) {}
}
account[from] -= amount;
/**/ Thread.yield();
account[to] += amount;
noTransacts += 1;
if( noTransacts%100 == 0 )
{ currentState();
}