Changed explanation graph and added some new algorithms