Comments added and Break condition added in Infinite loop