Partially implemented while and do while loops.