Add O(n) method to find maxsubarry and remove unnecessary functions

I added the implementation of Kanade's Algorithm which is so elegant
the word - optimal substructures fasinates me.Explanation is put up
in my blog - http://relativetoaditya.blogspot.in/
I was stupid to write TWO (omg) functions to find the maximum of
2 or 3 numbers. This is something I attribute to carelessness not
stupidity.
Still wow.

Signed-off-by: Aditya Prasad <adityaprasadiskool@gmail.com>