first "real" programming homework.