Dynamic Programming to solve Employment Smoothening Problem