Matlab 001 & 002

Submit the Matlab implementation of Problem 001 and 002.