Algorithm that Zach talked about in class

a=67
b=8
remainders={}
While[a>0,
result=QuotientRemainder[a,b];
remainders=Append[remainders,result[[2]]];
Print[a,remainders];
a=result[[1]];
]