Create cachematrix.R

My code for ProgrammingAssignment 2 to be Peer Reviewed fo 'R Programming'. Thank you.