Third homework for PCS Evening JS