Created history class for storing solving  progress step
History now saves algorithm used