Optimized Computational Solution to Coffee Time Challenge Problem #12