Some programming brain teasers