Published version of Assignment One