Commit of second hash at the cachematrix exercise - simple error checking