did most of t he first mmi assignment
;
some c changes
updated git ignore