Heera- I love the way you used diagrams, a table and pattern spotting to solve this problem.
Keep up the good work Heera.