Loop update

Initializing <b> in the inner loop as <a>