System Programming homework.