CS4052 Assignment solutions