lesson 08 heap sample soln