Transfer of Learning Across Compositions of Sequentail Tasks