added code for Uva:272
Merge pull request #8 from rahulroot/272-code

added code for Uva:272