added Maximum Margin code

-unusable for now
- used for an assignment; need changes to make it generic