David Cameron has poked fun at the Laour reshuffle, using a question about Shakespeare to unleash literary puns to mock Corbyn.