Added the testcase I got via the mail.
Added --h,help option to the program.