Finished most of assignmnet 2