small fixes of second hw

* added python implementation of powell's method
* added semicolons in octave implementation of powell's method
* added *~ pattern to .gitignore
incomplete 4th hw