unix programming homework