Added solution of knapsack

Signed-off-by: Shivam Dixit <shivamd001@gmail.com>