added some notes and my approach for the last R task