20141201: Problem3a,b done