My progress so far, I apologize, but the code I've written is in Matlab. Ahime.