Original versions of problem set 4