Added algorithm for weighted max independent set.

Using dynamic programming approach.