Problem 23 Added time to find solution