although my algorithm was correct it is giving me wrong answer,
and i have noticed that the problem submissions in python were only 2....
Algorithm Wrong, code removed