Using a prebuilt template to author an algorithmic question