Short hand version of the Do While and While Loop