simple programming assignment