Added code for generating binary sequences of length n and recursive solution to Towers of Hanoi