Initial commit of assignment3. Need to answer Q1, 2 and 8.