added longest increasing subsequnce and max increasing subsequence problem

This is done using dynamic programming.

Signed-off-by: anish kumar <anish198519851985@gmail.com>