Added a prepend function to the Cascade class so that we can implement the Miller Maslov Dueck algo