Update BellmanFord.py

Providing user's choice to choose between naive version and optimal version