Takehome exercises given by my professor (07/03/14)