We wrote all codes in Python.

Screen Shot 2022-03-09 at 9.31.34 PM.png

Screen Shot 2022-03-09 at 9.31.58 PM.png

Screen Shot 2022-03-09 at 9.32.21 PM.png

Screen Shot 2022-03-09 at 9.32.42 PM.png

Screen Shot 2022-03-09 at 9.33.01 PM.png

Screen Shot 2022-03-09 at 9.33.13 PM.png

Screen Shot 2022-03-09 at 9.33.31 PM.png