Why not update, hmm..?

Added while loop for the implementation of continue and break.