Implemented clone() method for Chan data

History also working for Chan's Algorithm
Previous step button is working