added code for Uva:256
Merge pull request #19 from rahulroot/256-code

added code for Uva:256