========================================================================================= Part 2: ========================================================================================= execute: (Please uncomment the desired algorithm in the main function of algorithm4.py file and run the below command) python algorithm4.py