The first three problems are in python while the other two are in C++