added the basic implementation of the Rake algorithm. This has to be
still modified and improved.