modified gitignore to ignore *.pyc and *.jpg files