Exercise Set 1

Do exercises 1, 5, 6 and 12, page 45 of Tanenbaum and Woodhull.