Exercise for lecture 2 (MIT)