completed work for RR Peer 1 assignment