new algorithm

extra work done to show how to use github.