Practice program for Csc193b (Stanford U)