A visual solution to Towers of Hanoi problem