added dumb sgd routine to sgd.py script.  also added .gitignore file to ignore png images and pyc files in the sgd_code folder