Exercises for http://deeplearning.stanford.edu/wiki/index.php/UFLDL_Tutorial