added doWhilst and doUntil

Sometimes post check loops are handy. Today I had one of those moments.