Added working of 'break' statement at loops