CS4012 Assignment Solutions