Bob and Alice solutions to Problem 2 completed