شرح | Bellman algorithm | نظري + مثال عملي