first bug fixed and example input added