Solution to peer assessment 1