fastcore

pull request for inclusion of fastcore algorithm