Well, obviously he cut out a shit load of steps. LordZpider, please write out your steps so we can follow it next time. I am fine up until you wrote 0 = "B L A H".... Then you basically solved it after that. Write your steps after that.
You definitely skipped a lot of steps, and there is no way anyone can just intuitively solve the way you did from that one step to the next...