added bellman algorithm in python