writ109st: assignments 2 and 5 (turned in a while ago)