Small programs I wrote while learning ruby