PBM2015 Assignment #4 1a, 1bc and 2