Working cache functions
Merge branch 'master' of github.com:kkilgour/ProgrammingAssignment2