Programming Assignment 2 Completed

Added functions related to the homework assignment and confirmed with 2
exemplar matrices.