Homework 1

Here is an answer for the first homework, which can be also viewed [here](http://nbviewer.ipython.org/github/tomyun/2014_Astr599_HW/blob/HW1_branch/kdyun/HW1.ipynb).