Finished another problem, though it was too slow for the stress test.