Add solution to cachemetrix.R