Added the answer to the bucket problem.