Wrote the code; made the plots