Working progress of the assignment 2

Examples for assignment 2 and the 1st draft of cache matrix.R.