Changed loop, added 'break'

Check the Eggs class file