Some random programs written for interviews