cs564 project1, self motivated in summer break. url: http://pages.cs.wisc.edu/~jignesh/cs564/notes/assignment1.pdf