Assignment 4 done on mac